<?xml version="1.0" encoding="utf-8"?>
<process version="1" name="WebRequest" xmlns="http://www.nginn.org/WorkflowDefinition.1_0.xsd" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <dataTypes>
    </dataTypes>
    <variables>
		<variable name="userName" type="string" required="true" dir="In" />
    </variables>
    <body>
        <places>
            <place id="start" type="Start" />
            <place id="end" type="End" />
        </places>
        <tasks>
            <task id="T1" type="XmlHttp">
			<variables>
				<variable name="user" type="string" dir="In" required="true"/>
				<variable name="text" type="string" dir="In" required="true"/>
			</variables>
			<inputBindings>
				<bind variable="user"><expr>'nginn_dev'</expr></bind>
				<bind variable="text"><expr>'witam, witam'</expr></bind>
			</inputBindings>
			<parameters>
                    <param variable="Url"><value>http://localhost:87/direct_messages/new.xml</value></param>
                    <param variable="UserName"><value>nginn</value></param>
                    <param variable="Password"><value>1212qw</value></param>
                    <param variable="RequestType"><value>Form</value></param>
                    <param variable="ResponseType"><value>Xml</value></param>
				<param variable="HttpMethod"><value>POST</value></param>
                </parameters>
			
            </task>
        </tasks>
        <flows>
            <flow from="start" to="T1" />
            <flow from="T1" to="end" />
        </flows>
    </body>
</process>